package com.test.service;

import java.util.List;

import com.test.bean.Teacher;

public interface TeacherService {

	public void addTeacher(Teacher teacher);

	public Teacher getOneTeacher(String id);//返回一个实体，仅有teacher属性

	public Teacher getTeacherAndStudent();//返回一个实体，包括teacher和student的属性

	public List<Teacher> getTeacherAndStudentList();//返回一个list，list中元素是teacher实体，包括teacher和student的信息

}